how to solve 3 equations by the elimination method